[Back]

Rhapsody Developer Release Copyright © 1998 by Apple Computer, Inc. All Rights Reserved.

Rhapsody Developer Release Notes:
Java APIs for the Yellow Box

The Java APIs for the core Yellow Box frameworks rest upon the foundation of Apple's Java/Objective-C integration technology (also known as the "Java Bridge"). This technology allows you to access the full potential of the Yellow Box frameworks using Java code and without having to write any Objective-C code. The bridge even allows you to subclass Objective-C objects in Java; in addition, using the bridging tools, you can wrap your own Objective-C code to make it accessible to Java applications.

In the first Developer Release, the Java APIs for the Application and Foundation frameworks were distributed in their alpha form. They have since undergone many changes and are now considerably more robust and finalized. In addition, most of the limitations that were present in Developer Release 1 have been removed. Using these APIs, you can access virtually all of the classes and protocols that make up the Application and Foundation frameworks.

The alpha versions of the APIs are still shipping with the current release (Developer Release 2), but they will be removed in the next release. They have already been removed from the current release of Yellow Box for Windows.

The current release provides a script to facilitate the conversion of application sources from the alpha APIs to the new APIs. The script does not provide complete coverage, but it will take care of most of the more straightforward cases, freeing you from some tedious conversion work. You can find the script and instructions on how to use it in /System/Developer/Java/Conversion/AlphaToYellow. Be sure to make a copy of your source directory before you apply the conversion, as the script works in place. Once you have run the scripts, trying to compile your program should pinpoint the remaining areas where conversion is still needed.

Note: On Yellow Box for Windows systems, whenever installed Rhapsody directories and files are referenced in this release note, substitute the Yellow Box for Windows installation directory for /System. For example, in the above example, substitute installed_dir/Developer/Java/Conversion/AlphaToYellow for /System/Developer/Java/Conversion/AlphaToYellow.

 

Changes Since Developer Release 1

 

Other Notes

 

Known Problems in This Release